🎖️GitЯра🎖️
Node / meshtastic / Meshtastic-Android / files / core / model / src / commonMain / kotlin / org / meshtastic / core / model / TracerouteOverlay.kt
Displaying Raw • Download
core/model/src/commonMain/kotlin/org/meshtastic/core/model/TracerouteOverlay.kt 4e15ef1c7f68f8c683fe8b7ff741a5167e154d2e (4e15ef1c) Text, 1.55 KB
T8b949e/*
* Copyright (c) 2026 Meshtastic LLC
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
Tff7b72package T7ee787org.meshtastic.core.model
T8b949e/**
* Represents a traceroute result with forward and return routes as ordered lists of node nums.
*
* @property requestId The mesh packet request ID that initiated this traceroute.
* @property forwardRoute Ordered node nums along the path towards the destination.
* @property returnRoute Ordered node nums along the return path back to the originator.
*/
Tff7b72data Tff7b72class T56d364TracerouteOverlayTb4b4b4(
Tff7b72val Te6edf3requestIdTb4b4b4: Tffa657IntTb4b4b4,
Tff7b72val Te6edf3forwardRouteTb4b4b4: Te6edf3ListTff7b72<Tffa657IntTff7b72> Tff7b72= Te6edf3emptyListTb4b4b4(Tb4b4b4)Tb4b4b4,
Tff7b72val Te6edf3returnRouteTb4b4b4: Te6edf3ListTff7b72<Tffa657IntTff7b72> Tff7b72= Te6edf3emptyListTb4b4b4(Tb4b4b4)Tb4b4b4,
Tb4b4b4) Tb4b4b4{
T8b949e/** All unique node nums involved in either route direction. */
Tff7b72val Te6edf3relatedNodeNumsTb4b4b4: Te6edf3SetTff7b72<Tffa657IntTff7b72> Tff7b72= Tb4b4b4(Te6edf3forwardRoute Tff7b72+ Te6edf3returnRouteTb4b4b4)Tb4b4b4.Te6edf3toSetTb4b4b4(Tb4b4b4)
T8b949e/** True if at least one route direction contains nodes. */
Tff7b72val Te6edf3hasRoutesTb4b4b4: Tffa657Boolean
Tff7b72getTb4b4b4(Tb4b4b4) Tff7b72= Te6edf3forwardRouteTb4b4b4.Te6edf3isNotEmptyTb4b4b4(Tb4b4b4) Tff7b72|Tff7b72| Te6edf3returnRouteTb4b4b4.Te6edf3isNotEmptyTb4b4b4(Tb4b4b4)
Tb4b4b4}
Served by rngit 1.5.0 - Generated in 0.04s